package com.mzpai.product.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mzpai.product.mapper.MsgLogMapper;
import com.mzpai.product.model.BoardReport;
import com.mzpai.product.model.MsgLog;
import com.mzpai.product.service.MsgLogService;
import com.mzpai.service.impl.BaseServiceImpl;
@Service
public class MsgLogServiceImpl extends BaseServiceImpl<MsgLog> implements MsgLogService {

	Logger logger = LoggerFactory.getLogger(BoardReport.class);
	@Autowired 
	private MsgLogMapper mapper;
	@Override
	public List<MsgLog> queryByAdminId(String adminId) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("adminId", adminId);
		return mapper.getList(map );
	}
}
